﻿using System;
using UnityEngine;

public class InfoGameOfScore : MonoBehaviour {
	// === Unity ======================================================================================================
	public UILabel Label;

	private void Awake() {
		if (Label == null) {
			throw new ArgumentException("Label is null");
		}
	}

	private void Update() {
		Label.text = "score: " + PlayerStats.GetInstance.Score;
	}
}
